#pragma once

#include "GameObject.h"

class Player;

enum WeaponType{UZI, LASER, SHURIKEN, BIGGUN};

class Projectile : public GameObject
{
	WeaponType type;
	Player *firedBy;
	float textureChangeElapsedTime;
public:
	Projectile(Vector2 pos_, bool flipped_, WeaponType type_, Player *firedBy_);
	void update(const float& timestep);
	Player* getFiredBy() { return firedBy; }
	WeaponType getWeaponType() { return type; }
	int damage;
};